Skip to content

ext/zlib: deflate_init() assertion failure on uninitialised typed pro… - #23409

Closed
devnexen wants to merge 1 commit into
php:masterfrom
devnexen:gh22143_fix
Closed

ext/zlib: deflate_init() assertion failure on uninitialised typed pro…#23409
devnexen wants to merge 1 commit into
php:masterfrom
devnexen:gh22143_fix

Conversation

@devnexen

Copy link
Copy Markdown
Member

…perties.

Fix #22142

An object passed as options exposes uninitialised typed properties as IS_UNDEF slots, which zval_try_get_long() rejected through an unreachable branch. Those slots are now skipped, matching get_object_vars().

…perties.

Fix php#22142

An object passed as options exposes uninitialised typed properties as
IS_UNDEF slots, which zval_try_get_long() rejected through an unreachable
branch. Those slots are now skipped, matching get_object_vars().
@devnexen
devnexen marked this pull request as ready for review August 22, 2026 14:17
@devnexen
devnexen requested review from Girgias and ndossche August 22, 2026 14:17
@devnexen

Copy link
Copy Markdown
Member Author

To fix master build in general too.

@devnexen devnexen closed this in c0e7d49 Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assertion failure at Zend/zend_operators.c zendi_try_get_long(const zval *, _Bool *): Assertion '0' failed.

2 participants